package com.lfs.admin.model.entity;

import lombok.*;
import org.apache.ibatis.type.Alias;

import java.io.Serializable;

@Alias("ShopEntity")
@Getter
@Setter
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class ShopEntity implements Serializable {

    private int id;

    private String shopId;

    /**
     * 商户id
     */
    private String agtNo;

    /**
     * 平台编码
     */
    private int platformId;

    /**
     * 店铺名称
     */
    private String shopName;

    /**
     * 店铺类型
     */
    private String shopType;

    /**
     * 店铺logo
     */
    private String shopLogo;

    /**
     *  店铺url
     */
    private String url;

    /**
     * 排序
     */
    private String sort;

    /**
     * 店铺状态
     */
    private String status;

    private int sellerId;

    /**
     * 平台appKey
     */
    private String appKey;

    /**
     * 平台秘钥
     */
    private String appSecret;

    /**
     * 授权token
     */
    private String accessToken;

    /**
     * 到期时间
     */
    private Integer expiresIn;

    /**
     *  即将过期天数
     */
    private Integer expireDay;

    /**
     * access_token开始时间
     */
    private Integer accessTokenBegin;

    /**
     * 用于刷新token
     */
    private String refreshToken;

    /**
     * 刷新token的token有效期
     */
    private String refreshTokenTimeout;

    private String remark;

    private String apiRequestUrl;

    private String createTime;
}
